<?php
/**
 * 小邮筒订单
 */
namespace soa\minpost\order\v1\insert;

use soa\client;

//普通下单
class order  extends client
{
    /**
     * 服务地址
     * @var string
     */
    public $service_url = 'http://mp.kuaidihelp.com/';

    /**
     * 服务名称
     * @var string
     */
    protected $service_name = 'kuaidihelp_mp';

	//正常下单
	public function insert($uid,$platform,$orderInfo,$extraInfo = []){
		return $this->post("api/cloudPrint/order/v1/insert/order/insert",[
			"uid" => $uid,
			"platform" => $platform,
			"extra_info" => $extraInfo,
			"order_info" => $orderInfo,
		]);
	}
}